home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Web Server / TinyWeb Server.EXE / CGITEST.ZIP / helloexe.pl < prev    next >
Text File  |  2000-01-25  |  517b  |  22 lines

  1. ##########################################################################
  2. ##
  3. ##  CGI Testing Example
  4. ##
  5. ##  Copyright (C) 1998-2000 RIT Research Labs
  6. ##
  7. ##  This is a sample 'Hello World' program, where 'Hello' is printed
  8. ##  from a perl script and 'World' is printed from an executable written in
  9. ##  C and invoked from the perl script.
  10. ##
  11. ##########################################################################
  12.  
  13. print "Content-Type: text/html\n\n";
  14.  
  15. print "Hello ";
  16.  
  17. print `world.exe`;
  18.  
  19.  
  20.  
  21.  
  22.